<template>
    <div class="editAccount" style="padding-top:50px;" align="center">
        <a :href="src" download="">
            <van-button type="primary">点击下载保单详情</van-button>
        </a>
    </div>
</template>

<script>
export default {
    data() {
        return {
            show: false,
            images: [],
            src: ''
        };
    },
    methods: {
        imgClick() {
            this.show = true;
        },
    },
    mounted() {
        const imgUrl = this.$route.query.imgUrl;
        this.images = [imgUrl]
        this.src = imgUrl
    },
};
</script>
<style scoped>
.editAccount {
    background-color: #f5f5f5;
    height: 100%;
    width: 100%;
}
</style>